<!DOCTYPE html>
<html>
<head>
    <title>箱子管理系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="css/bootstrap-responsive.css" rel="stylesheet" media="screen">
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <script src="lib/jq/jquery-2.1.1.min.js"></script>
    <script src="lib/jq/bootstrap.min.js"></script>
    <script type="text/javascript" src="js/jquery.qrcode.min.js"></script>
    <script type="text/javascript" src="js/login.js"></script>
    <script type="text/javascript">
        if(top!=self){
            if(top.location != self.location)
                top.location=self.location;
        }
    </script>
</head>
<body style="background-color: #5F9F9F">
<div id="lert"></div>
<% if (success) { %>
<div class="alert alert-success">
    <h4><%= success %></h4>
</div>
<% } %>
<% if (error) { %>
<div class="alert alert-error">
    <h4><%= error %></h4>
</div>
<% } %>
<div style="margin-top:15%;padding-left: 30%">
<form onsubmit="return check()" action="/" method="post" name="form1" class="form-horizontal">
    <div class="control-group">
        <label class="control-label">账号：</label>
        <div class="controls">
            <input type="text" name="username"/>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">密码：</label>
        <div class="controls">
            <input type="password" id="password" name="pwd" />
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <input type="submit" style="width:12%;background-color:#ccc;border:1px solid #ccc;border-radius: 3px" value="登陆" id="sub_btn">
        </div>
    </div>
</form>
</div>
</body>
</html>